home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 3-Pak 2 - Disc 2
/
Infomagic - Windows 3-Pak Volume 2 (Disc 2 of 3).iso
/
Chat---IRC
/
TURBOIRC.ZIP
/
data1.cab
/
TurboIRC_Scripts
/
EONCLONE.txt
< prev
next >
Wrap
Text File
|
1999-05-05
|
785b
|
39 lines
// This is the ONCLONE TurboIRC Script
// Copyright ⌐ Chourdakis Michael , 1998
// The mask in $0 ... the Channel in $2 + 1
string chn = strcpy("$2" + 1)
string CurDom = ""
string CurNick = ""
int CloneNum = 0
for (int K = 0 ; %K% < GetNickCount(%chn%) ; %K% += 1)
%CurNick% = GetNick(%chn%,%K%)
// Was it the one we have ?
if (%CurNick% == $nick)
continue
endif
// Get information about the nick's domain
%CurDom% = GetUserDomain(%CurNick%)
if (%CurDom%=="")
continue
endif
// Is it the same ?
if (%CurDom%==$IP)
%CloneNum% += 1
endif
endfor
if (%CloneNum% < 1)
return
endif
// Here , show CLONE INFO !
/pops %chn% ***HEY !!! CLONE HERE , $nick ($IP) ??? Already %CloneNum% user(s) in %chn% !!!
//pops %chn% ***HEY %chn% !!!